package string;

public class StringDemo {
    public static void main(String[] args) {
//        String S1 = "123ABC";
//        String S2 = "123"+"ABC";
//        System.out.println(S1==S2);
//String S3 ="123";
//String S4 =S3+"123";
//System.out.println(S1==S4);
String S = new String("hello");
String S1 = "hello";
System.out.println(S==S1);
        System.out.println(S1);
    }


    }

